#include<iostream>
#include<cstdio>
using namespace std;

int main(){
	freopen("in.txt","r",stdin);
	freopen("out.txt","w",stdout);
	int sum=0;
	int x=0;
	while(cin>>x){
		sum+=x;
	}
	cout<<sum;
	fclose(stdin);
	fclose(stdout);
	return 0;
} 
